package com.imooc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @author: 折戟沉沙铁未销
 * @create 2019/12/4 - 2019
 **/
//springboot默认会扫描com.imooc下面的所有组件
@SpringBootApplication
//mapper接口是需要mybatis进行扫描的
@MapperScan(basePackages = "com.imooc.mapper")
public class Application {
    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }
}